﻿using System;
using System.Diagnostics;

namespace BaseSyntax.DebugTest
{
	public  static class DebugLog
	{
		private static float c1 = 1.0f;
		
		public static void test()
		{
			Console.WriteLine("sss");
			int a = 2;
			int b = 2;
			Debug.Assert(a == 3, "a not 12", "a not 13");
			// idea 输出在debug output中，release模式下无输出
			Debug.WriteLine("write debug info: ", "BaseSyntax");
			// 
			Trace.WriteLine("write trace info: ", "BaseSyntax");
		}	
	}
}